package com.matt.domain;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/8/25
 * *******************************
 */
@Entity
@Table(name = "garden_leader_advise")
@Data
@EqualsAndHashCode(callSuper = true)
public class GardenLeaderAdvise extends Model{

    @Column
    private String content;

    @Column
    private String leaderName;

    @Column
    private String leaderId;

    @Column
    private String childrenName;

    @Column
    private String childrenId;

    @Column
    private Date created = new Date();

    @Column
    private Date lastModified = new Date();
}
